
import axios from 'axios'; //引入axios

export  function request(config,success) {
      //创建axios的实例
    const instance = axios.create({
        // baseURL:'http://www.storemain.cn/laravel/public',
        baseURL:'http://localhost:8085/laravel/public',
        timeout:'5000',
    });
    //发送真正的请求
  return  instance(config)
}